package jaux.tank.dao.enums;

/**
 * 实体参数查询类型.
 */
public enum EntityQueryParamType {

	EQUAL(false),
	NOT_EQUAL(false),
	LIKE(false),
	NOT_LIKE(false),
	LESS(false),
	LESS_OR_EQUAL(false),
	GREATER(false),
	GREATER_OR_EQUAL(false),
	BETWEEN(false),
	NOT_BETWEEN(false),
	IN(false),
	NOT_IN(false),
	CONTAINS(false),
	IS_NULL(true),
	IS_NOT_NULL(true),
	IS_EMPTY(true),
	IS_NOT_EMPTY(true),
	OR(true),
	AND(true);
	
	private boolean valueNullable;
	
	private EntityQueryParamType(boolean valueNullable) {
		this.valueNullable = valueNullable;
	}
	
	public boolean isValueNullable() {
		return this.valueNullable;
	}
}
